<template>
    <div class="dashboard">
       <el-row :gutter="10">
          <el-col :span="7">
             <HyCard title="分类商品数量(饼图)"></HyCard>
          </el-col>
           <el-col :span="10">
              <HyCard title="不同城市商品数量"></HyCard>
           </el-col>
            <el-col :span="7">
               <HyCard title="分类商品数量(玫瑰图)"></HyCard>
            </el-col>
       </el-row>

            <el-row :gutter="10" class="content-row">
              <el-col :span="12">
             <HyCard title="分类商品数量(饼图)"></HyCard>
          </el-col>
           <el-col :span="12">
              <HyCard title="不同城市商品数量"></HyCard>
           </el-col>
            </el-row>
    </div>
</template>

<script lang="ts">
import HyCard  from '@/base-ui/card'

import { defineComponent } from 'vue'
import {useStore} from 'vuex'
import * as echarts from 'echarts'
export default defineComponent({
  name: 'dashboard',
  components:{
    HyCard
  },
  setup() {
    const store=useStore()
    store.dispatch('dashboard/getDashboarDataAction')
    return {
      
    }
  }
})
</script>

<style scoped>
.content-row{
  margin-top: 20px;
}
</style>
